﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace D3DSS.DataContract
{
    /// <summary>
    /// 响应契约基类
    /// </summary>
    public class Response<T>
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 响应代码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 响应数据
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 消息词典
        /// </summary>
        public List<Message> MessageDictionary { get; set; }
    }
}
